Skip to content

feat(stop-gate): hold pr.ready and HOLD signals, reject partial-suite APPROVE claims - #20

Merged
lukisch merged 1 commit into
mainfrom
feat/hard-stopp-gate
Nov 23, 2026
Merged

lukisch merged 1 commit into
mainfrom
feat/hard-stopp-gate

Conversation

@lukisch

@lukisch lukisch commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Layers cleanly onto \origin/main\ (#18/#19, v0.2.2) to close the remaining gaps from \ ile-bricks/promptboard#8:

  • Extend \stop_gate.hold_reason\ to \pr.ready\ (\�xec_ready) so active STOPP/HOLD/\CHANGES_REQUESTED\ blockers also prevent un-drafting.
  • Catch uppercase \HOLD\ (e.g. [HOLD], \HOLD:) in \stop_gate._STOP_UPPER\ symmetrically with _NEGATED.
  • Reject \pr.review\ \APPROVE\ claims that cite only a test subset (e.g. \ ollowup*, \dialog test, \subset, \smoke only) without full-suite evidence (_partial_review_claim_error); \COMMENT\ reviews for partial findings stay allowed.
  • Clarify in \MULTI-BOT.de.md\ that
    eview_sandbox.py\ only provisions checkouts/metadata/closeout and runs no test suite.
  • Add regression tests in \ ests/test_stop_gate.py.

Verification

  • \python -X utf8 -m pytest -q: \537 passed, 2 skipped\

  • uff check src tests,
    uff format --check src tests, \git diff --check: clean

@lukisch
lukisch force-pushed the feat/hard-stopp-gate branch from a2ec59f to ad139fe Compare November 23, 2026 00:05
@lukisch lukisch changed the title feat(stopp-gate): block PR merge/approve/ready on unlifted STOPP/HOLD signals and partial-suite APPROVE claims feat(stop-gate): hold pr.ready and HOLD signals, reject partial-suite APPROVE claims Nov 23, 2026

@lukisch lukisch left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head ad139fe (full diff read in isolated worktree).

  • stop_gate: uppercase HOLD is now a stop signal. It is case-sensitive, so prose like "hold on" passes, and the existing negation regex covers "no hold".
  • pr.ready now calls stop_gate.hold_reason, consistent with pr.merge and pr.review APPROVE.
  • pr.review APPROVE rejects partial-suite claims (followup*, dialog test, subset, ...) unless a full-suite phrase is also present. COMMENT reviews are unaffected. The check runs before the stop gate and writes nothing on rejection.
  • MULTI-BOT.de.md matches the behavior.
  • Tests: new cases cover HOLD block and negation, ready held by stop, and partial-claim APPROVE rejected with COMMENT allowed.
  • pytest (stop_gate, typed_actions, multibot_resources): 126 passed. ruff: clean. CI test (3.10) and test (3.12): pass. mergeState CLEAN.

No blockers. Posting as a comment (same account as the author); squash-merging pinned to this head.

@lukisch
lukisch merged commit 4035a58 into main Nov 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant